<template>
    <div class="bookSuccess">
        <div class="info">
            <i class="iconfont icon-chenggong"></i>
            <h3>您的预约申请已收到</h3>
            <p>待人工审批通过后，以短信通知为准</p>
        </div>
        <div class="btn" @click="toIndex()">
            <span>返回首页</span>
        </div>
    </div>
</template>

<script>
import { getStore, setStore, removeStore } from "../config/mUtils"
export default {
    data() {
        return {

        }
    },
    methods:{
        toIndex(){
            if(getStore('token')){
                this.$router.replace({path:'/',query:{token:getStore('token')}})
            }else{
                this.router.replace('/')
            }
        }
    },
    created() {

    }
}
</script>

<style lang="less" scoped>
.bookSuccess {
    .info{
        text-align: center;
        margin: 1rem 1rem 0 1rem;
        i{
            color:#36bc99;
            font-size: 4rem;
        }
        h3{
            font-weight: normal;
            color:#000;
            font-size: .9rem;
        }
        p{
            font-size: .7rem;
            color:#666;
        }
    }
    
}
</style>

